module.exports = class extends think.Controller {
  __before() {
      this.header('Access-Control-Allow-Origin','*');
      this.header('Access-Control-Allow-Headers','Content-Type,Content-Length, Authorization, Accept,X-Requested-With');
      this.header('Access-Control-Allow-Methods','PUT,POST,GET,DELETE,OPTIONS');
      this.header('X-Powered-By','3.2.3');
      console.log(this.header);
  }
};
